import axios from "axios";

//爆爆团请求接口
export function a (canshu={}){
    return axios.get('/api/tuan/list',{params:canshu})
}

//饿了么请求接口
export function elm(canshu={}){
    return axios.get('/api/shop/list',{params:canshu})
}

//登录请求接口
export function dengLu(canshu={}){
    return axios.post('/api/user/login',canshu);
}

//注册请求接口
export function zhuCe(canshu={}){
    return axios.post('/api/user/register',canshu);
}

//详情页请求接口
export function xiangQing(canshu={}){
    return axios.get('/api/shop/shopinfo',{params:canshu})
}